﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using FM.流媒体播放.ViewModels;

namespace FM.流媒体播放.Views
{
    /// <summary>
    /// 播放视图.xaml 的交互逻辑
    /// </summary>
    public partial class 播放视图 : UserControl
    {
        public 播放视图()
        {
            InitializeComponent();



            var model = new 播放视图ViewModel();
            model.初始化(播放器);
            this.DataContext = model;
        }


        public MediaElement 播放器
        {
            get { return mediaElement; }
        }
    }
}
